<?php

$title = "KeyboardHero";
$updnum = 2;

$toplistfile = "KeyboardHero.olt";
$maxinverytop = 3;
$maxintop = 10;
$dirdownload = "keyboardhero/";
$fname = "KeyboardHero";
$dirlogs = "_KeyboardHero.logs/";
$timelimit = 900;
$ipvar = "REMOTE_ADDR";


if($_SERVER["SERVER_ADDR"]=="127.0.0.1") {
	$mysql_host = "localhost";
	$mysql_dbname = "keyboardhero";
	$mysql_user = "nyners";
	$mysql_pass = "jelsz0";	
} else {
	$mysql_host = "sql109.byethost8.com";
	$mysql_dbname = "b8_3076068_keyboardhero";
	$mysql_user = "b8_3076068";
	$mysql_pass = "passw0rD";
}

$fd=fopen($dirlogs."kbh.".date("Y-W").".log", "a");
fwrite($fd, gmdate("Y-m-d H:i:s")." | ".$_SERVER[$ipvar]." | ".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]." | ".$_SERVER["HTTP_REFERER"]."\n");
fclose($fd);

?>